from rest_framework.serializers import ModelSerializer

from .models import Staff


class StaffSerialzier(ModelSerializer):
    class Meta:
        model = Staff
        fields = ['username','num','head','age','phone','sex']